package com.lgy.controller;

import com.lgy.service.UserClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class UserController {

    @Autowired
    private UserClient userClient;

    
    @RequestMapping(value = "/myTestInfo", method = RequestMethod.GET)
    public String info() {
        System.out.println("aaaaaaaaaaaaaa");
        return userClient.getuserinfo();
    }


}